package org.boyan.modules.cgform.converter.bc;

import com.alibaba.fastjson.JSONObject;
import java.util.HashMap;
import java.util.Map;
import org.boyan.modules.cgform.converter.ac.a;
import org.boyan.modules.cgform.entity.OnlCgformField;

public class e extends a {
    private String f;

    public String getLinkField() {
        return this.f;
    }

    public void setLinkField(String linkField) {
        this.f = linkField;
    }

    public e(OnlCgformField paramOnlCgformField) {
        String str = paramOnlCgformField.getDictTable();
        org.boyan.modules.cgform.a.a a1 = JSONObject.parseObject(str, org.boyan.modules.cgform.a.a.class);
        this.setTable(a1.getTable());
        this.setCode(a1.getKey());
        this.setText(a1.getTxt());
        this.f = a1.getLinkField();
    }

    public Map<String, String> getConfig() {
        HashMap<Object, Object> hashMap = new HashMap<>();
        hashMap.put("linkField", this.f);
        return (Map)hashMap;
    }
}
